<?php 
require_once( 'Base/CBaseComments.class.php');
class CComments extends CBaseComments {

	public function __construct() {
		parent::__construct();
		return true;
	}
	
	public function initialize() {
		parent::initialize();
		return true;
	}
	
	public static function fetchCommentsByBlogId( $intBlogId, $objDatabase ) {
		$strSql = 'SELECT * FROM `comments` WHERE `blog_id` = ' . $intBlogId ;
		return parent::fetchResults( $strSql, 'CComment', $objDatabase );
	}
}

?>